'''
Created on Jul 31, 2012

@author: zhong
'''
#import sys
#sys.path.append('modules')
#from sys import argv,path

 
#import sys modules

import time
import signal

#import user modules
import storage



#define global var
global A_INTERVAL
global DEBUG


#define global default var
A_INTERVAL = 1
DEBUG = True

if __name__ == '__main__':
    instance = storage.device_stats(1, A_INTERVAL)
    while True:
        instance.compute()
        #instance.debug()
    del instance
    
    
#datetime.datetime.fromtimestamp(now).strftime('%Y-%m-%d %H:%M:%S')